<?php
include "connect.php";

$yearid=$_POST['yearid'];
$year_name=$_POST['year_name'];


$dbquery="INSERT INTO student_academic (yearid,year_name) 
VALUES ('yearid','year_name')";

mysql_query($dbquery);
	
header("location:add_year_success.php");
?>
